﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SwenAssignment3.Classes;
namespace SwenAssignment3.UserCreationModule
{
    public partial class SingleUserUpdate : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            string user = lblUsername.Text;
            string staffid = lblStaffID.Text;
            string accessright = lblaccessRight.Text;

            if (!Page.IsPostBack)
            {
                UserAcc m = DRHotelDBManager.retrieveUser(user);
            }
        }

        protected void btnCreate_Click(object sender, ImageClickEventArgs e)
        {
            
            string oldpass = tbxOldPassword.Text;
            string newpass = tbxPassword.Text;
            
           
            string sq = DropDownList1.SelectedValue;
            string sa = tbxSA.Text;



        }
    }
}